<template>
  <v-md-editor v-model="value" mode="preview"/></template>
<script>
export default {
  name: 'markdown-preview',
  props: ['modelValue'],
  computed: {
    value: {
      get () {
        return this.modelValue
      },
      set (value) {
        this.$emit('update:modelValue', value)
      }
    }
  }
}
</script>

<style scoped>

</style>
